<template>
  <div id="app">
    <button @click="btnClick">调用接口</button>
    <!-- <router-view></router-view> -->
  </div>
</template>

<script>
import { sysLogin } from '@/api/text.js'
export default {
  name: 'App',
  created() {
    alert(process.env.VUE_APP_XXX)
  },
  methods: {
    async btnClick() {
      const res = await sysLogin()
      console.log(res)
    }
  }
}
</script>

<style></style>
